# -*- coding: utf-8 -*-
from ctypes import *
from threading import Thread

libfaifa= CDLL("./libfaifa.so.0")
faifa = libfaifa.faifa_init()
t = libfaifa.faifa_open(faifa,"eth0")


t = Thread(target=libfaifa.receive_loop, args=(faifa,))
#t.start()

mmtype = c_ushort(int(0xA038))
print 0x6030
print int(0x6030)
print mmtype


libfaifa.do_frame(faifa, mmtype, None, None, None)
    



